%Ones
DateCell = {2017 11 8};
Times = [0:200:1400];
Folders = [15,19:25];
ExcludePics = {[24:26],[],[],[],[],[],[],[]};
NormFolders = 16; %10ms
ExcludePicsNorm = {};

OnesFolder = [16];
ThreesFolder = [17];
SinglesFolder = [18];
ExcludeOnes = [23:25];
ExcludeThrees = [23:25];
ExcludeSingles = [];

Cx = [];
Cy = [];
PeriodGuess = 16;
DisplayAll = 1;
ComputeCorr = 0;
BinWidth = 1;
CutoffR = 14;
n_low_cutoff = 0.1;
TempFitInitP = [0.6,0.97];
UseQuantityToFit = [0,1];

save_dir = fullfile(pwd, 'test');
if ~exist(save_dir, 'dir')
    mkdir(save_dir);
end
dset = DiffuseSet();
dset.initialize(DateCell, Folders, NormFolders, Times, PeriodGuess,...
                ExcludePics, ExcludePicsNorm, Cx, Cy,...
                OnesFolder, ThreesFolder, ExcludeOnes,...
                ExcludeThrees, 1, BinWidth, ComputeCorr,...
                CutoffR ,SinglesFolder, ExcludeSingles,...
                n_low_cutoff, UseQuantityToFit, TempFitInitP,...
                save_dir, sqrt(linspace(0,40^2,15)));
            